package cn.cvs.util;

/**
 * @Auther: zwt
 * @Date: 2021/11/18 - 11 - 18 - 14:37
 * @Description: cn.cvs.util
 * @version: 1.0
 */
public class DataTransfer<T> {
    private String status;//"nodata" "failed" "ok"
    T data; //SysUser SysRole ...
    private String result;

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }

    @Override
    public String toString() {
        return "DataTransfer{" +
                "status='" + status + '\'' +
                ", data=" + data +
                '}';
    }
}
